package code

const (
	SUCCESS                   = 200
	InvalidParams             = 400
	ERROR                     = 500
	IdNotEmpty                = 4001
	ErrorTokenEmpty           = 4002
	ErrorTokenInvalid         = 4003
	ErrorTokenExpire          = 4004
	ErrorUserNotExist         = 4005
	ErrorUserExist            = 4006
	ErrorUserPwd              = 4007
	ErrorMerchantNotExist     = 4008
	ErrorMerchantExist        = 4009
	ErrorShopBusinessExist    = 4010
	ErrorShopBusinessNotExist = 4011
	ErrorSkuCodeExist         = 4012
	ErrorSkuCodeNotExist      = 4013
	ErrorShopIdNotExist       = 4014
	ErrorShopIdExist          = 4015
	ErrorInviteCodeNotExist   = 4016
	DbDuplicateEntry          = 50000
	ErrorEmailSend            = 50001
	ErrorVerifyCodeEmpty      = 50002
	ErrorVerifyCodeInvalid    = 50003
	ErrorVerifyCodeExpire     = 50004
	ErrorSkuAmountNotEnough   = 50005
	UserBalanceNotEnough      = 600001
	UserAccountStateLock      = 600002
	UserAccountNotExist       = 600003
	MerchantAccountNotExist   = 600004
	MerchantAccountStateLock  = 600005
	DecimalParseErr           = 600000
	TransactionFailed         = 600010
	TxCodeNotExist            = 600011
	TradePayRun               = 600012
	TradePaySuccess           = 600013
	LogisticsRecordExist      = 600014
	LogisticsRecordNotExist   = 600015
	UserLoginNotAllow         = 600016
	TradePayExpire            = 600017
	TradeOrderTxCodeEmpty     = 600018
	TradeOrderExist           = 600019
	UserSettingInfoExist      = 600020
	UserSettingInfoNotExist   = 600021
	UserDeliveryInfoNotExist  = 600022
	TradeOrderNotMatchUser    = 600023
	SkuPriceVersionNotExist   = 600024
	OrderStateInvalid         = 600025
	OrderStateLock            = 600026
	OrderExpire               = 600027
	OrderPayCompleted         = 600028
	UserAccountStateInvalid   = 600029
	CommentsExist             = 600030
	CommentsNotExist          = 600031
	CommentsTagExist          = 600032
	CommentsTagNotExist       = 600033
	UserOrderNotExist         = 600034
	OutTradeEmpty = 600035
)
